<template>
  <div id="app">
     
      <Item >
          <p slot="icon">前面</p>
      </Item>
  </div>
</template>

<script>
import Item from './components/Item.vue'
export default {
    data(){
        return{
            msg:"发送的了就纷纷"
        }
    },
    components:{
        Item
    },
    filters:{
        handleStr(val){
            if(val.length>3){
                val=val.slice(0,3)+"..."
            }
            return val
        }
    }
}
</script>

<style>

</style>
